/** * * @param metadata * The metadata to attach to this property */ public ResourceRefType(XMPMetadata metadata) { super(metadata); addNamespace(getNamespace(), getPreferedPrefix()); }
public void addAlternatePath(String value) { ArrayProperty seq = (ArrayProperty) getFirstEquivalentProperty(ALTERNATE_PATHS, ArrayProperty.class); if (seq == null) { seq = getMetadata().getTypeMapping().createArrayProperty(null, getPreferedPrefix(), ALTERNATE_PATHS, Cardinality.Seq); addProperty(seq); } TypeMapping tm = getMetadata().getTypeMapping(); TextType tt = (TextType) tm.instanciateSimpleProperty(null, "rdf", "li", value, Types.Text); seq.addProperty(tt); }
public void setDocumentID(String value) { addSimpleProperty(DOCUMENT_ID, value); }
/** * Get Versions property * * @return version property to set */ public ArrayProperty getAlternatePathsProperty() { return (ArrayProperty) getFirstEquivalentProperty(ALTERNATE_PATHS, ArrayProperty.class); }
public String getDocumentID() { TextType absProp = (TextType) getFirstEquivalentProperty(DOCUMENT_ID, URIType.class); if (absProp != null) { return absProp.getStringValue(); } else { return null; } }
public String getFilePath() { TextType absProp = (TextType) getFirstEquivalentProperty(FILE_PATH, URIType.class); if (absProp != null) { return absProp.getStringValue(); } else { return null; } }
public void addAlternatePath(String value) { ArrayProperty seq = (ArrayProperty) getFirstEquivalentProperty(ALTERNATE_PATHS, ArrayProperty.class); if (seq == null) { seq = getMetadata().getTypeMapping().createArrayProperty(null, getPreferedPrefix(), ALTERNATE_PATHS, Cardinality.Seq); addProperty(seq); } TypeMapping tm = getMetadata().getTypeMapping(); TextType tt = (TextType) tm.instanciateSimpleProperty(null, "rdf", "li", value, Types.Text); seq.addProperty(tt); }
public void setFilePath(String value) { addSimpleProperty(FILE_PATH, value); }
/** * * @param metadata * The metadata to attach to this property */ public ResourceRefType(XMPMetadata metadata) { super(metadata); addNamespace(getNamespace(), getPreferedPrefix()); }
public String getManageUI() { TextType absProp = (TextType) getFirstEquivalentProperty(MANAGE_UI, URIType.class); if (absProp != null) { return absProp.getStringValue(); } else { return null; } }
public void addAlternatePath(String value) { ArrayProperty seq = (ArrayProperty) getFirstEquivalentProperty(ALTERNATE_PATHS, ArrayProperty.class); if (seq == null) { seq = getMetadata().getTypeMapping().createArrayProperty(null, getPreferedPrefix(), ALTERNATE_PATHS, Cardinality.Seq); addProperty(seq); } TypeMapping tm = getMetadata().getTypeMapping(); TextType tt = (TextType) tm.instanciateSimpleProperty(null, "rdf", "li", value, Types.Text); seq.addProperty(tt); }
public void setManageTo(String value) { addSimpleProperty(MANAGE_TO, value); }
/** * * @param metadata * The metadata to attach to this property */ public ResourceRefType(XMPMetadata metadata) { super(metadata); addNamespace(getNamespace(), getPreferedPrefix()); }
public String getManager() { TextType absProp = (TextType) getFirstEquivalentProperty(MANAGER, AgentNameType.class); if (absProp != null) { return absProp.getStringValue(); } else { return null; } }
public void setFromPart(String value) { addSimpleProperty(FROM_PART, value); }
public String getFromPart() { TextType absProp = (TextType) getFirstEquivalentProperty(FROM_PART, PartType.class); if (absProp != null) { return absProp.getStringValue(); } else { return null; } }
public void setToPart(String value) { addSimpleProperty(TO_PART, value); }
public String getToPart() { TextType absProp = (TextType) getFirstEquivalentProperty(TO_PART, PartType.class); if (absProp != null) { return absProp.getStringValue(); } else { return null; } }
public void setPartMapping(String value) { addSimpleProperty(PART_MAPPING, value); }
public Calendar getLastModifyDate() { DateType absProp = (DateType) getFirstEquivalentProperty(LAST_MODIFY_DATE, DateType.class); if (absProp != null) { return absProp.getValue(); } else { return null; } }