Skip to content

Commit 5d16586

Browse files
committed
feat(Attachment): add name()
1 parent 1893459 commit 5d16586

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
package minevalley.fastcar.api.production.shape;
22

3+
import org.jetbrains.annotations.Contract;
4+
5+
import javax.annotation.Nonnull;
6+
37
@SuppressWarnings("unused")
48
public interface Attachment extends ShapeProperty {
9+
10+
/**
11+
* Gets the name of this attachment.
12+
* This corresponds to the database name of the attachment and is used to identify it.
13+
*
14+
* @return The attachment name.
15+
*/
16+
@Nonnull
17+
@Contract(pure = true)
18+
String name();
519
}

0 commit comments

Comments
 (0)