Class RelationshipType
- java.lang.Object
-
- com.enonic.xp.schema.BaseSchema<RelationshipTypeName>
-
- com.enonic.xp.schema.relationship.RelationshipType
-
@Beta public final class RelationshipType extends BaseSchema<RelationshipTypeName>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RelationshipType.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RelationshipType.Builder
create()
static RelationshipType.Builder
create(RelationshipType relationshipType)
boolean
equals(java.lang.Object o)
ContentTypeNames
getAllowedFromTypes()
ContentTypeNames
getAllowedToTypes()
java.lang.String
getFromSemantic()
java.lang.String
getToSemantic()
int
hashCode()
-
Methods inherited from class com.enonic.xp.schema.BaseSchema
getCreatedTime, getCreator, getDescription, getDescriptionI18nKey, getDisplayName, getDisplayNameI18nKey, getIcon, getModifiedTime, getModifier, getName
-
-
-
-
Method Detail
-
getFromSemantic
public java.lang.String getFromSemantic()
-
getToSemantic
public java.lang.String getToSemantic()
-
getAllowedFromTypes
public ContentTypeNames getAllowedFromTypes()
-
getAllowedToTypes
public ContentTypeNames getAllowedToTypes()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classBaseSchema<RelationshipTypeName>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classBaseSchema<RelationshipTypeName>
-
create
public static RelationshipType.Builder create()
-
create
public static RelationshipType.Builder create(RelationshipType relationshipType)
-
-