Package org.jupnp.support.model
Klasse DIDLObject
java.lang.Object
org.jupnp.support.model.DIDLObject
- Autor:
- Christian Bauer, Mario Franco, Amit Kumar Mondal - Code Refactoring
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic classstatic class -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected DIDLObject.Classprotected Stringprotected Stringprotected Stringprotected List<DIDLObject.Property<?>> protected booleanprotected Stringprotected WriteStatus -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedprotectedDIDLObject(String id, String parentID, String title, String creator, boolean restricted, WriteStatus writeStatus, DIDLObject.Class clazz, List<Res> resources, List<DIDLObject.Property<?>> properties, List<DescMeta<?>> descMetadata) protectedDIDLObject(DIDLObject other) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungaddDescMetadata(DescMeta<?> descMetadata) addProperties(DIDLObject.Property<?>[] properties) addProperty(DIDLObject.Property property) addResource(Res resource) booleangetClazz()<V> DIDLObject.Property<V> getFirstProperty(Class<? extends DIDLObject.Property<V>> propertyClass) <V> VgetFirstPropertyValue(Class<? extends DIDLObject.Property<V>> propertyClass) getId()<V> DIDLObject.Property<V> getLastProperty(Class<? extends DIDLObject.Property<V>> propertyClass) <V> DIDLObject.Property<V>[]getProperties(Class<? extends DIDLObject.Property<V>> propertyClass) <V> DIDLObject.Property<V>[]getPropertiesByNamespace(Class<? extends DIDLObject.Property.NAMESPACE> namespace) <V> List<V> getPropertyValues(Class<? extends DIDLObject.Property<V>> propertyClass) getTitle()inthashCode()booleanhasProperty(Class<? extends DIDLObject.Property<?>> propertyClass) booleanremoveProperties(Class<? extends DIDLObject.Property<?>> propertyClass) replaceFirstProperty(DIDLObject.Property<?> property) replaceProperties(Class<? extends DIDLObject.Property<?>> propertyClass, DIDLObject.Property<?>[] properties) setClazz(DIDLObject.Class clazz) setCreator(String creator) voidsetDescMetadata(List<DescMeta<?>> descMetadata) setParentID(String parentID) setProperties(List<DIDLObject.Property<?>> properties) setResources(List<Res> resources) setRestricted(boolean restricted) setWriteStatus(WriteStatus writeStatus)
-
Felddetails
-
id
-
parentID
-
title
-
creator
-
restricted
protected boolean restricted -
writeStatus
-
clazz
-
resources
-
properties
-
descMetadata
-
-
Konstruktordetails
-
DIDLObject
protected DIDLObject() -
DIDLObject
-
DIDLObject
protected DIDLObject(String id, String parentID, String title, String creator, boolean restricted, WriteStatus writeStatus, DIDLObject.Class clazz, List<Res> resources, List<DIDLObject.Property<?>> properties, List<DescMeta<?>> descMetadata)
-
-
Methodendetails
-
getId
-
setId
-
getParentID
-
setParentID
-
getTitle
-
setTitle
-
getCreator
-
setCreator
-
isRestricted
public boolean isRestricted() -
setRestricted
-
getWriteStatus
-
setWriteStatus
-
getFirstResource
-
getResources
-
setResources
-
addResource
-
getClazz
-
setClazz
-
getProperties
-
setProperties
-
addProperty
-
replaceFirstProperty
-
replaceProperties
public DIDLObject replaceProperties(Class<? extends DIDLObject.Property<?>> propertyClass, DIDLObject.Property<?>[] properties) -
addProperties
-
removeProperties
-
hasProperty
-
getFirstProperty
public <V> DIDLObject.Property<V> getFirstProperty(Class<? extends DIDLObject.Property<V>> propertyClass) -
getLastProperty
public <V> DIDLObject.Property<V> getLastProperty(Class<? extends DIDLObject.Property<V>> propertyClass) -
getProperties
public <V> DIDLObject.Property<V>[] getProperties(Class<? extends DIDLObject.Property<V>> propertyClass) -
getPropertiesByNamespace
public <V> DIDLObject.Property<V>[] getPropertiesByNamespace(Class<? extends DIDLObject.Property.NAMESPACE> namespace) -
getFirstPropertyValue
-
getPropertyValues
-
getDescMetadata
-
setDescMetadata
-
addDescMetadata
-
equals
-
hashCode
public int hashCode()
-