Package com.enonic.xp.attachment
Class CreateAttachments
- java.lang.Object
-
- com.enonic.xp.support.AbstractImmutableEntitySet<CreateAttachment>
-
- com.enonic.xp.attachment.CreateAttachments
-
- All Implemented Interfaces:
Iterable<CreateAttachment>
@PublicApi public final class CreateAttachments extends AbstractImmutableEntitySet<CreateAttachment>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateAttachments.Builder
-
Field Summary
-
Fields inherited from class com.enonic.xp.support.AbstractImmutableEntitySet
set
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CreateAttachments.Buildercreate()static CreateAttachmentsempty()booleanequals(Object o)static CreateAttachmentsfrom(CreateAttachment... contents)static CreateAttachmentsfrom(Iterable<? extends CreateAttachment> contents)static CreateAttachmentsfrom(Collection<? extends CreateAttachment> contents)CreateAttachmentgetByName(String name)Deprecated.ImmutableList<String>getNames()Deprecated.inthashCode()-
Methods inherited from class com.enonic.xp.support.AbstractImmutableEntitySet
contains, first, getSet, getSize, isEmpty, isNotEmpty, iterator, stream, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
getNames
@Deprecated public ImmutableList<String> getNames()
Deprecated.
-
getByName
@Deprecated public CreateAttachment getByName(String name)
Deprecated.
-
empty
public static CreateAttachments empty()
-
from
public static CreateAttachments from(CreateAttachment... contents)
-
from
public static CreateAttachments from(Iterable<? extends CreateAttachment> contents)
-
from
public static CreateAttachments from(Collection<? extends CreateAttachment> contents)
-
create
public static CreateAttachments.Builder create()
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classAbstractImmutableEntitySet<CreateAttachment>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractImmutableEntitySet<CreateAttachment>
-
-