Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.robrua.orianna.type.core.status;
 
 import java.util.List;
 
 
 public class Message extends OriannaObject<com.robrua.orianna.type.dto.status.Message> {
    private static final long serialVersionUID = 330160592720735279L;
    private List<Translationtranslations;

    

Parameters:
data the underlying dto
    public Message(final com.robrua.orianna.type.dto.status.Message data) {
        super(datacom.robrua.orianna.type.dto.status.Message.class);
    }

    
The author

Returns:
the author
    public String getAuthor() {
        return super.getString(.getAuthor());
    }

    
The content

Returns:
the content
    public String getContent() {
        return super.getString(.getContent());
    }

    
The created at value

Returns:
the created at value
    public String getCreatedAt() {
        return super.getString(.getCreated_at());
    }

    
The ID

Returns:
the ID
    public long getID() {
        return super.getLong(.getId());
    }

    
The severity

Returns:
the severity
    public String getSeverity() {
        return super.getString(.getSeverity());
    }

    
The translations

Returns:
the translations
    public List<TranslationgetTranslations() {
        if( == null) {
             = new ArrayList<>();
            for(final com.robrua.orianna.type.dto.status.Translation trans : .getTranslations()) {
                .add(new Translation(trans));
            }
        }
        return Collections.unmodifiableList();
    }

    
The updated at value

Returns:
the updated at value
    public String getUpdatedAt() {
        return super.getString(.getUpdated_at());
    }
    /*
     * (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return "Message (" + getContent() + ")";
    }
New to GrepCode? Check out our FAQ X